<section id="Edit">
	<form>
		<fieldset id="EditEntryForm">
			<legend>Edit an existing task</legend>
			<label 	for="editEntryTitle">Title</label>
			<input  type="text"
					id="editEntryTitle" 
					name="editEntryTitle"
					value="<?=$returnData['entryTitle']?>" />
			<hr>
			<textarea id="editEntry" name="editEntry"><?=$returnData['entry']?></textarea>
			<button id="SetEntry" name="SetEntry">Update Task</button>
		</fieldset>
	</form>
</section>


<?
/*
----
TODO: move this to controllers
----
*/
$entry = $query->GetEntryByID('3');
// and process the results as an array.
$returnData = $query->ArrayResults($entry);
?>
<!-- debug: 
<? print_r($returnData); ?>
-->

